getFragmentManager
Deprecated
This has been removed in favor of getParentFragmentManager()
which throws an IllegalStateException if the FragmentManager is null. Check if isAdded returns false
to determine if the FragmentManager is null
.
Return the FragmentManager for interacting with fragments associated with this fragment's activity. Note that this will be non-null slightly before getActivity, during the time from when the fragment is placed in a FragmentTransaction until it is committed and attached to its activity.
If this Fragment is a child of another Fragment, the FragmentManager returned here will be the parent's getChildFragmentManager.